package org.prj.vo;


import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.ManyToMany;
import javax.persistence.Table;

import com.avaje.ebean.validation.Email;
import com.avaje.ebean.validation.NotNull;

@Entity
@Table(name = "spk_user")
public class UserVO implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -8204862037648260051L;

	@Id
	private String id;
	
	@NotNull
	private String username;
	private String fname;
	private String lname;
	@NotNull
	@Email
	private String email;
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
	
	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getFname() {
		return fname;
	}

	public void setFname(String fname) {
		this.fname = fname;
	}

	public String getLname() {
		return lname;
	}

	public void setLname(String lname) {
		this.lname = lname;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	

}
